package com.base.common.persistent.dao;

import com.cjy.common.annotation.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository
public interface VillageConfigMapper {
	/**
	 * 获取项目id
	 * 
	 * @param compoundsId 小区id
	 * @return
	 */
	String getProjectID(@Param("compoundsId") int compoundsId);

	/**
	 * 获取小区ID
	 *
	 * @param projectID
	 * @return
     */
	int getCompoundsID(@Param("projectID") String projectID);

	/**
	 * 获取注册时的小区（ID）列表
	 *
	 * @return
     */
	List<Integer> getUntilRegisteCompoundsIDList();
}
